<template>
	<div class="wrapper" ref="scrollBox">
		<div class="scrollContent">
			<slot></slot>
		</div>
	</div>
</template>

<script>
	import BScroll from 'better-scroll'
	export default {
		data() {
			return {
				scroll:null
			}
		},
		mounted(){
			this.scroll = new BScroll(this.$refs.scrollBox,{
				probeType: 3,
				bounceTime: 300,
				click: true
			})
		}
	}
</script>

<style>
</style>
